package com.yami.shop.bean.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserXsCardDto {

    @Schema(description = "主键")
    private String id;

    @Schema(description = "新生账户ID")
    private String xsUserId;

    @Schema(description = "系统用户ID")
    private String userId;

    @Schema(description = "银行卡卡号")
    private String cardNo;

    @Schema(description = "持卡人姓名")
    private String holderName;

    @Schema(description = "信用卡有效期")
    private String cardAvailableDate;

    @Schema(description = "信用卡CVV2")
    private String cvv2;

    @Schema(description = "银行签约手机号")
    private String mobileNo;

    @Schema(description = "证件类型")
    private String identityType;

    @Schema(description = "证件号码")
    private String identityCode;

    @Schema(description = "绑卡协议号")
    private String bindCardAgrNo;

    @Schema(description = "签约银行简码")
    private String bankCode;

    @Schema(description = "银行卡卡类型")
    private String cardType;

    @Schema(description = "签约银行卡后四位")
    private String shortCardNo;

    @Schema(description = "绑定状态")
    private String status;

    @Schema(description = "省")
    private String province;

    @Schema(description = "市")
    private String city;

    @Schema(description = "开户行")
    private String branch;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Schema(description = "建立时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
